<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>

<html>
<head>
<script type="text/javascript" src="<c:url value="/scripts/frmRegistrarComprobante_dom.js" /> "></script>
</head>
<body>
			
		<h2 align="center">REGISTRAR COMPROBANTE PAGO</h2>
		<form action="" id="comprobanteForm" method="GET" >
		<table border="0" width="450" align="center">
			
			<tr>
				<td>
					<fieldset>
					<table width="100%">
						<tr>
							<td width="50%">
									
									<table width="100%">
										<tr>
										<td><label>EMPRESA</label></td>
										<td class="td_izq">
										<form:select path="lista_empresas" style="WIDTH: 250px"
											 id="cmb_empresa" name="empresa" disabled="disabled">
											<form:options items="${lista_empresas}" itemValue="id_empresa"
												itemLabel="razon"></form:options>
										</form:select></td>
										</tr>
										<tr>
											<td>
												<label>COD.ORDEN</label>
											</td>
											<td>
												<input type="text" class="codigos required" id="cod_ordenes" name="cod_ordenes"/>
											</td>
										</tr>
										<tr >
											<td COLSPAN="2"><label id="zona"><font color="white"></font></label></td>
										</tr>
										<tr >
											<td COLSPAN="2"><label id="proveedor"><font color="white"></font></label></td>
										</tr>
										<tr>
											<td COLSPAN="2"><label id="fecha"><font color="white"></font></label></td>
										</tr>
										<tr >
											<td COLSPAN="2"><label id="montoCancelado"><font color="white"></font></label></td>
										</tr>
										<tr>
											<td COLSPAN="2"><label id="montoTotal"><font color="white"></font></label></td>
										</tr>
										<tr>
											<td><label>COMPROBANTE</label></td>
											<td><form:select path="tipos_comprobantes" style="WIDTH: 250px" id="cmb_prioridad" name="comprobante">
												<form:options items="${tipos_comprobantes}"
													itemValue="id_tabla_tipo" itemLabel="descripcion_valor"></form:options>
											</form:select></td>
										</tr>
										<tr>
											<td>
											   <label>SERIE</label>
											</td>
											<td>
												<table>
													<tr>
														<td>
															<input type="text" class="caja required"  style="WIDTH: 73px" id="serie" name="serie"/>
														</td>
														<td>
											   				<label>NUMERO</label>
														</td>
														<td>
															<input type="text" class="caja required" style="WIDTH: 73px" id="numero" name="numero"/>
														</td>
													</tr>
												</table>
											</td>													
										</tr>
										<tr>
											<td>
											   <label>FECHA</label>
											</td>
											<td>
												<table>
													<tr>
														<td>
															<input type="text" size="10"
															class="fecha_pedido required date" name="fecha_pedido" id="fecha_pedido" />
														</td>
														<td>
											   				<label> MONTO </label>
														</td>
														<td>
															<input type="text" id="dmonto" class='dmonto dmonto required'  style="WIDTH: 70px"  name="monto"/>
														</td>
													</tr>
												</table>
											</td>													
										</tr>
										 <tr>
											<td>
											   <label>DOCUMENTO</label>
											</td>
											<td>
											   <input type="file" id="ruta"  style="WIDTH: 100px"  name="ruta"/>
											</td>
																						
										</tr> 
										
									</table>
								</td>
						</tr>
					</table>
					</fieldset>
				</td>
				
			</tr>
			<tr>
				<td  colspan="2" align="center">
						<a id="btn_enviar"></a>
						<a id="btn_limpiar"></a>
						 
				</td>
				
			</tr>
		</table>
		</form>
	
</body>
</html>